<?php
	include "model_config.php";
	session_start();	
	$string="UPDATE taikhoan
						 SET TrangThai='0'
						 WHERE TenDangNhap='".$_SESSION['curUser']."'";
	Query($string);
	session_destroy();
	header("location:../index.php");
?>